<?
	/*
	 * @since 2012.03.27
	 * @author Charles Koh
	 * @returns {My Office page}
	 */
	
//session_start();
$g_userId = true; //$_SESSION['userid'];
$page = $_GET['page'];
?>
<html>
<head>
	
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="50,*">
	<frame name="logo" src="logo.php" noresize>
	<frameset framespacing="0" border="0" frameborder="0" cols="200,*">
	<?
		if($g_userId) {
	?>
		<frame name="menu" src="menu.php?page=<?echo $page;?>" noresize>
		<frame name="sub_content" src="<?echo ($page) ? $page : "dashboard.php";?>" noresize>
	<?
		} else {
	?>
		<frame name="menu" src="" noresize>
		<frame name="sub_content" src="../membership/login_form.php" noresize>
	<?
		}
	?>
	</frameset>
</frameset>
</html>